package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;

/**
 * @author feihao
 * @version 1.0
 * @date 2021/7/22 10:11
 */
public interface AdSensitiveService extends IService<AdSensitive> {
    ResponseResult insert(AdSensitive adSensitive);

    ResponseResult findByName(SensitiveDto sensitiveDto);

    ResponseResult updateSensitive(AdSensitive adSensitive);

    ResponseResult deleteById(Integer id);
}
